<?php

use think\Route;  //导入Route类

Route::rule('demo/', 'index/admin/demo/');  //创建路由规则